package com.yqh.service;


import com.github.pagehelper.PageInfo;
import com.yqh.dto.ProductCategorySearchDTO;
import com.yqh.entity.Product;
import com.yqh.entity.ProductCategory;

import java.util.List;

/**
 * 商品分类模块
 *
 * @author 阳秋豪
 * @createTime 2024/3/22
 */
public interface ProductCategoryService {
    PageInfo<ProductCategory> getSearchProduct(ProductCategorySearchDTO productCategorySearchDTO);

    void addProductCategory(ProductCategory productCategory);

    void alterProduct(ProductCategory productCategory);

    void deleteProductCategory(Integer productCategoryId);

    List<ProductCategory> getAllProductCategory();
}
